package com.jron.cqiu.kernel.persistence;

import com.jron.cqiu.util.Instance;

/**
 * Created by Intellij IDEA.
 *
 * @Author: Yejw
 * @Date: 2008-6-18
 * @Time: 16:54:15
 */
public interface IMailDao {

    /**
     *
     */
    IMailDao INSTANCE = Instance.MAILDAO_INSTANCE;

    /**
     * 检验是否新的命令
     *
     * @param commandId
     * @param commandTime
     * @return
     */
    boolean isNewCommand(String commandId,String commandTime);

    /**
     * 标记为已执行命令
     *
     * @param commandId
     * @param commandTime
     */
    public void signExecCommand(String commandId, String commandTime);

}
